package com.wing.purchase.model.request;

import com.wing.purchase.model.entity.PurchaseSignFor;
import com.wing.purchase.model.entity.PurchaseSignForProduct;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * 采购签收Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PurchaseSignForForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 签收编号
     */
    private String signNo;

    /**
     * 出入库类型
     */
    private Long inventoryType;

    /**
     * 出入库类型编码
     */
    private String inventoryTypeCode;

    /**
     * 签收业务类型
     */
    private String signBusinessType;

    /**
     * 签收任务
     */
    private Long signTaskId;

    /**
     * 签收任务编号
     */
    private String signTaskNo;


    /**
     * 签收物料数量
     */
    private Integer signSkuNum;

    /**
     * 状态
     */
    private String status;

    /**
     * 质检状态
     */
    private String checkStatus;

    /**
     * 采购签收产品集合
     */
    private List<PurchaseSignForProduct> purchaseSignForProducts = new ArrayList<>();

    public interface Add {
    }

    public interface Update {
    }


    /**
     * 供应商ID
     */
    private Long supplierId;


    /**
     * 供应商名称
     */
    private String supplierName;


    /**
     * 供应商code
     */
    private String supplierCode;

}
